﻿using System.IdentityModel.Selectors;
using System.ServiceModel;

namespace MediaBrowserSL.Web
{
    public class MyValidator : UserNamePasswordValidator
    {
        public override void Validate(string userName, string password)
        {
            if (userName != "TOTO" || password != "TOTO")
            {
                throw new FaultException("Invalid username / password combination!");
            }
        }
    }
}